math/big.Float.exp (field)
58 uses
math/big (current package)
float.go#L72: exp int32
float.go#L272: exp = int(x.exp)
float.go#L277: mant.exp = 0
float.go#L299: z.exp = int32(exp)
float.go#L329: z.setExpAndRound(int64(z.exp)+int64(exp), 0)
float.go#L355: if x.exp <= 0 {
float.go#L359: return x.prec <= uint32(x.exp) || x.MinPrec() <= uint(x.exp) // not enough bits for fractional mantissa
float.go#L485: if z.exp >= MaxExp {
float.go#L490: z.exp++
float.go#L522: z.exp = int32(64 - s) // always fits
float.go#L573: z.exp = int32(exp) // always fits
float.go#L663: z.exp = x.exp
float.go#L690: z.exp = x.exp
float.go#L752: if x.exp <= 0 {
float.go#L757: if x.exp <= 64 {
float.go#L759: u := msb64(x.mant) >> (64 - uint32(x.exp))
float.go#L795: if x.exp <= 0 {
float.go#L802: if x.exp <= 63 {
float.go#L804: i := int64(msb64(x.mant) >> (64 - uint32(x.exp)))
float.go#L808: if x.MinPrec() <= uint(x.exp) {
float.go#L815: if x.exp == 64 && x.MinPrec() == 1 {
float.go#L861: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L902: e = r.exp - 1
float.go#L981: e := x.exp - 1 // exponent for normal mantissa m with 1.0 <= m < 2.0
float.go#L1022: e = r.exp - 1
float.go#L1095: if x.exp <= 0 {
float.go#L1104: exp := uint(x.exp)
float.go#L1154: case x.exp > allBits:
float.go#L1155: z.a.abs = z.a.abs.shl(x.mant, uint(x.exp-allBits))
float.go#L1162: case x.exp < allBits:
float.go#L1165: z.b.abs = t.shl(t, uint(allBits-x.exp))
float.go#L1229: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1230: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1276: ex := int64(x.exp) - int64(len(x.mant))*_W
float.go#L1277: ey := int64(y.exp) - int64(len(y.mant))*_W
float.go#L1330: e := int64(x.exp) + int64(y.exp)
float.go#L1370: e := int64(x.exp) - int64(y.exp) - int64(d-len(z.mant))*_W
float.go#L1393: case x.exp < y.exp:
float.go#L1395: case x.exp > y.exp:
floatconv.go#L126: z.exp = int32(exp2)
floatmarsh.go#L54: binary.BigEndian.PutUint32(buf[6:], uint32(x.exp))
floatmarsh.go#L93: z.exp = int32(binary.BigEndian.Uint32(buf[6:]))
ftoa.go#L96: d.init(x.mant, int(x.exp)-x.mant.bitLen())
ftoa.go#L187: exp := int(x.exp) - mant.bitLen()
ftoa.go#L339: e := int64(x.exp) - int64(x.prec)
ftoa.go#L387: exp64 := int64(x.exp) - 1 // avoid wrap-around
ftoa.go#L441: if x.exp >= 0 {
ftoa.go#L444: return strconv.AppendInt(buf, int64(x.exp), 10)
sqrt.go#L70: z.exp++
sqrt.go#L72: z.exp--
sqrt.go#L106: u.exp-- // = ½t(3 - xt²)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |